package com.cheer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cheer.entity.StandingBookDocument;
import com.cheer.vo.DocumentMemberVO;
import com.cheer.vo.DocumentVO;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author cheer
 */
public interface StandingBookDocumentService extends IService<StandingBookDocument> {

    /**
     * 查询模板下载地址
     * @param type 文件类型
     */
    String getTemplateByType(Integer type);

    /**
     * 上传成员信息文档
     *
     * @param accountId 账号Id
     * @param file      文档
     */
    DocumentMemberVO uploadMemberDocument(Long accountId, MultipartFile file);

    /**
     * 上传文档
     * @param accountId 账号Id
     * @param file 文档
     */
    DocumentVO upload(Long accountId, MultipartFile file);
}
